package com.lovo.atm.service.impl;

import com.lovo.atm.bean.HistoryRecordBean;
import com.lovo.atm.dao.IHistoryDao;
import com.lovo.atm.dao.impls.IHistoryDaoImpls;
import com.lovo.atm.service.IHistoryService;

import java.util.List;

/**
 * 业务层交易记录实现
 */
public class IHistoryServiceImpl implements IHistoryService {
    private IHistoryDao iHistoryDao = new IHistoryDaoImpls();
    @Override
    public List<HistoryRecordBean> findByCode(String code) {

        return iHistoryDao.findByCode(code);
    }
}
